package marcis.jarina.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class CommonMapping {


    @RequestMapping(value = "index.html", method = RequestMethod.GET)
    public ModelAndView displayWelcome() {
        ModelAndView modelAndView = new ModelAndView("index");
        return modelAndView;
    }

}
